var e = require("@babel/runtime/helpers/regeneratorRuntime"),
  r = require("@babel/runtime/helpers/asyncToGenerator");
require("./core/index");
var n = require("./store/index"),
  t = require("./core/mini-redux/index");
require("./core/config/route-interception"), App((0, t.Provider)({
  store: n.store
})({
  
  onLaunch: function (n) {
    return r(e().mark((function r() {
      return e().wrap((function (e) {
        switch (e.prev = e.next) {
          case 0:
            return console.log(n, "--------------------小程序初始化完成时触发，全局只触发一次"), e.next = 3;
          case 3:
          case "end":
            return e.stop()
        }
      }), r)
    })))()
  },
  
  onShow: function () {
    (0, n.dispatch)(n.actions.globalActions.getBannerData()), (0, n.dispatch)(n.actions.globalActions.getMechanicalClass()), (0, n.dispatch)(n.actions.globalActions.getDriverClass())
  }
}));